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
    Get
    Private Set
'Usage
Dim instance As Rule
Dim value As String

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

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