Sdílet prostřednictvím


NamedSmoObject.ScriptChangeOwner Method

This method supports the SMO infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Protected Sub ScriptChangeOwner ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
'Usage
Dim queries As StringCollection
Dim so As ScriptingOptions

Me.ScriptChangeOwner(queries, so)
protected void ScriptChangeOwner(
    StringCollection queries,
    ScriptingOptions so
)
protected:
void ScriptChangeOwner(
    StringCollection^ queries, 
    ScriptingOptions^ so
)
member ScriptChangeOwner : 
        queries:StringCollection * 
        so:ScriptingOptions -> unit 
protected function ScriptChangeOwner(
    queries : StringCollection, 
    so : ScriptingOptions
)