RuleCollection.Item Property (String, String)
SQL Server 2012
Gets a Rule object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
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.RuleA Rule object value that represents the rule.