UIConnectionInfoUtil.SetDatabaseName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the database name for all elements in the list of the UIConnectionInfo object.
Overloads
SetDatabaseName(UIConnectionGroupInfo, String) |
Specifies the database name for all elements in the list of the UIConnectionInfo object. |
SetDatabaseName(UIConnectionInfo, String) |
Specifies the database name for the passed UIConnectionInfo object. |
SetDatabaseName(UIConnectionGroupInfo, String)
Specifies the database name for all elements in the list of the UIConnectionInfo object.
public:
static void SetDatabaseName(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, System::String ^ dbName);
public static void SetDatabaseName (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, string dbName);
static member SetDatabaseName : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * string -> unit
Public Shared Sub SetDatabaseName (connectionInfoList As UIConnectionGroupInfo, dbName As String)
Parameters
- connectionInfoList
- UIConnectionGroupInfo
The list of the connection information.
- dbName
- String
A string that represents the database name.
Applies to
SetDatabaseName(UIConnectionInfo, String)
Specifies the database name for the passed UIConnectionInfo object.
public:
static void SetDatabaseName(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, System::String ^ dbName);
public static void SetDatabaseName (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, string dbName);
static member SetDatabaseName : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * string -> unit
Public Shared Sub SetDatabaseName (ci As UIConnectionInfo, dbName As String)
Parameters
The information of the connection.
- dbName
- String
A string that represents the database name.