Sdílet prostřednictvím


Policy.Description Property

Gets or sets the textual description of the policy.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property Description As String 
    Get 
    Set
'Usage
Dim instance As Policy 
Dim value As String 

value = instance.Description

instance.Description = value
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public string Description { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property String^ Description {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member Description : string with get, set
function get Description () : String 
function set Description (value : String)

Property Value

Type: System.String
A String value that contains the textual description of the policy.

Examples

Setting Properties

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace