Propriedade do RDL DefaultDatabaseName
Gets or sets the name of the database to connect to by default.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (em Microsoft.SqlServer.Management.MultiServerConnection.dll)
Sintaxe
'Declaração
Public Property DefaultDatabaseName As String
Get
Set
'Uso
Dim instance As MultiServerSqlConnectionInfo
Dim value As String
value = instance.DefaultDatabaseName
instance.DefaultDatabaseName = value
public string DefaultDatabaseName { get; set; }
public:
property String^ DefaultDatabaseName {
String^ get ();
void set (String^ value);
}
member DefaultDatabaseName : string with get, set
function get DefaultDatabaseName () : String
function set DefaultDatabaseName (value : String)
Valor da propriedade
Tipo: System. . :: . .String
A String containing the database name.
Consulte também