共用方式為


ScriptChangeOwner 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Sub ScriptChangeOwner ( _
    queries As StringCollection, _
    so As ScriptingOptions _
)
'用途
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
)