Export (0) Print
Expand All

RuleCollection.Item Property (String, String)

Gets a Rule object in the collection by name.

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

public Rule this[
	string name,
	string schema
] { get; }

Parameters

name
Type: String
A String value that specifies the name of the Rule object in the RuleCollection collection.
schema
Type: String
A String value that specifies the schema of the Rule object.

Property Value

Type: Microsoft.SqlServer.Management.Smo.Rule
A Rule object value that represents the rule.

Community Additions

Show:
© 2015 Microsoft