Partager via


Propriété DefaultDatabase

Gets or sets the default database for the SOAP payload.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultDatabase As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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