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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.