Метод 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
)
Параметры
- queries
Тип: System.Collections.Specialized. . :: . .StringCollection
A StringCollection that contains the queries.
- so
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the scripting options.