DefaultDatabase-Eigenschaft

Gets or sets the default database for the SOAP payload.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultDatabase As String
    Get
    Set
'Usage
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)

Eigenschaftswert

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