Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

Community Additions

ADD
Show:
© 2015 Microsoft