次の方法で共有


ScriptOwner メソッド

スクリプトの所有者の承認を変更します。

名前空間:  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
)

パラメーター