Delen via


NamedSmoObject.ScriptOwner Method

Alters the script owner authorization.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Sub ScriptOwner ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
'Usage
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
)

Parameters