Login.DefaultDatabase Property

Definition

Important

This API is not CLS-compliant.

[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone, "master")]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Database), "Server[@Name = '{0}']/Database[@Name = '{1}']", new System.String[] { "Parent.ConnectionContext.TrueName", "DefaultDatabase" })]
[System.CLSCompliant(false)]
public string DefaultDatabase { get; set; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone, "master")>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Database), "Server[@Name = '{0}']/Database[@Name = '{1}']", new System.String[] { "Parent.ConnectionContext.TrueName", "DefaultDatabase" })>]
[<System.CLSCompliant(false)>]
member this.DefaultDatabase : string with get, set
Public Property DefaultDatabase As String

Property Value

String

Implements

Attributes

Applies to