DatabaseActiveDirectory.Description 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Description As String 
    Get 
    Set
用法
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)

属性值

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

注释

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

示例

设置属性

请参阅

参考

DatabaseActiveDirectory 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)