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: System.String

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

schema
Type: System.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.

Return to top
Show: