Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

SqlSmoObject.GetBindDefaultScript Method

Gets the script that binds defaults specified by the defSchema and defName parameters.

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

protected string GetBindDefaultScript(
	ScriptingOptions so,
	string defSchema,
	string defName,
	bool futureOnly
)

Parameters

so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object.
defSchema
Type: System.String
A string value that specifies the default schema.
defName
Type: System.String
A string value that specifies the default name.
futureOnly
Type: System.Boolean
A Boolean value that specifies whether the binding refers only to future bindings.

Return Value

Type: System.String
A string value that contains the binding script.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft