Метод 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.