共用方式為


Contact 屬性

Gets or sets a contact name for 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 Contact As String
    Get
    Set
'用途
Dim instance As DatabaseActiveDirectory
Dim value As String

value = instance.Contact

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

屬性值

型別:System. . :: . .String
A String value that specifies a contact name for the database.

備註

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

範例

設定屬性