Partager via


Propriété DatabaseActiveDirectory.Description

Gets or sets a textual description of the database that appears in the Active Directory registration of the database.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Description As String 
    Get 
    Set
'Utilisation
Dim instance As DatabaseActiveDirectory 
Dim value As String 

value = instance.Description

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

Valeur de propriété

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

Notes

This property will appear with the Active Directory registration of the referenced database.

Exemples

Définition de propriétés

Voir aussi

Référence

DatabaseActiveDirectory Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)