Méthode ScriptOwner
Alters the script owner authorization.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Protected Sub ScriptOwner ( _
queries As StringCollection, _
so As ScriptingOptions _
)
'Utilisation
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
)
Paramètres
- queries
Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains the queries.
- so
Type : Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the scripting options.