Share via


Condition.Description Property

Gets or sets the descriptions of the condition.

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 Condition
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 a description of the condition.

Remarks

C#

if (description != null) c.Description = description;

VB

If description IsNot Nothing Then 
    c.Description = description 
End If