Método ScriptOwner
Alters the script owner authorization.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Protected Sub ScriptOwner ( _
queries As StringCollection, _
so As ScriptingOptions _
)
'Uso
Dim queries As StringCollection
Dim so As ScriptingOptions
Me.ScriptOwner(queries, so)
protected void ScriptOwner(
StringCollection queries,
ScriptingOptions so
)
protected:
void ScriptOwner(
StringCollection^ queries,
ScriptingOptions^ so
)
member ScriptOwner :
queries:StringCollection *
so:ScriptingOptions -> unit
protected function ScriptOwner(
queries : StringCollection,
so : ScriptingOptions
)
Parâmetros
- queries
Tipo: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains the queries.
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the scripting options.