共用方式為


ScriptOwner 方法

Alters the script owner authorization.

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

語法

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

參數