Share via


Rule.Name Property

Gets or sets the user-friendly name of the rule, localized by using the current thread locale.

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

Syntax

'Declaration
Public Property Name As String
'Usage
Dim instance As Rule 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; private set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
public function get Name () : String 
public function set Name (value : String)

Property Value

Type: System.String

Remarks

The name is used as the primary way of identifying a rule in the user interface.

.NET Framework Security

See Also

Reference

Rule Class

Rule Members

Microsoft.Data.Schema.StaticCodeAnalysis Namespace