Share via


DataRuleAttribute.Id Property

Gets or sets the identifier for the rule.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Property Id As String
public string Id { get; private set; }
public:
property String^ Id {
    String^ get ();
    private: void set (String^ value);
}
member Id : string with get, private set
function get Id () : String
private function set Id (value : String)

Property Value

Type: System.String
A string that contains the identifier for the rule as set in the constructor of the attribute.

.NET Framework Security

See Also

Reference

DataRuleAttribute Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace

DataRuleAttribute