Share via


DataRuleAttribute.Namespace Property

Gets or sets the namespace for the rule.

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

Syntax

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

Property Value

Type: System.String
A string that contains the namespace 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