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
)
参数
- queries
类型:System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains the queries.
- so
类型:Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the scripting options.