Rule Constructor (Database, String, String)
SQL Server 2012
Initializes a new instance of the Rule class on the specified database, with the specified name and schema.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- database
- Type: Microsoft.SqlServer.Management.Smo.Database
A Database object value that specifies the parent of the Rule object.
- name
- Type: System.String
A String value that specifies the name of the rule.
- schema
- Type: System.String
A String value that specifies the schema for the rule.
