共用方式為


DefaultDatabase 屬性

Gets or sets the default database for the SOAP payload.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultDatabase As String
    Get
    Set
'用途
Dim instance As SoapPayload
Dim value As String

value = instance.DefaultDatabase

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

屬性值

型別:System. . :: . .String
A String value that specifies the default database for the SOAP payload.

範例

實作端點