共用方式為


Description 屬性

Gets or sets the textual description of the policy.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property Description As String
    Get
    Set
'用途
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)

屬性值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

設定屬性