NamedSmoObject.ScriptChangeOwner Method

This method supports the SMO infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected void ScriptChangeOwner(
	StringCollection queries,
	ScriptingOptions so
)

Parameters

queries
Type: System.Collections.Specialized.StringCollection
A StringCollection that contains the queries.
so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object that contains the scripting options.

Community Additions

ADD
Show: