Export (0) Print
Expand All

NamedSmoObject.ScriptOwner Method

SQL Server 2008 R2

Alters the script owner authorization.

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

protected void ScriptOwner(
	StringCollection queries,
	ScriptingOptions so
)

Parameters

queries
Type: System.Collections.Specialized.StringCollection
A StringCollection object that contains the queries.
so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object that contains the scripting options.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft