Export (0) Print
Expand All
Expand Minimize

SqlSmoObject.GetBindRuleScript Method

Gets the script that specifies the binding rules.

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

protected string GetBindRuleScript(
	ScriptingOptions so,
	string ruleSchema,
	string ruleName,
	bool futureOnly
)

Parameters

so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object.
ruleSchema
Type: System.String
A string value that specifies the rule schema.
ruleName
Type: System.String
A string value that specifies the rule 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:
© 2014 Microsoft