UIConnectionInfoUtil.GetServerType Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi jenis server yang akan didapatkan dari UIConnectionInfo.
Overload
| GetServerType(Guid) |
Menentukan jenis server yang akan didapatkan UIConnectionInfo dari objek . |
| GetServerType(ServerType) |
Menentukan jenis server yang akan didapatkan dari UIConnectionInfo. |
| GetServerType(UIConnectionInfo) |
Menentukan jenis server yang akan didapatkan UIConnectionInfo dari objek . |
GetServerType(Guid)
Menentukan jenis server yang akan didapatkan UIConnectionInfo dari objek .
public:
static Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ GetServerType(Guid serverTypeGuid);
public static Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType GetServerType (Guid serverTypeGuid);
static member GetServerType : Guid -> Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
Public Shared Function GetServerType (serverTypeGuid As Guid) As IServerType
Parameter
- serverTypeGuid
- Guid
Pengidentifikasi unik global dari serverType.
Mengembalikan
Jenis server yang akan didapatkan dari UIConnectionInfo.
Berlaku untuk
GetServerType(ServerType)
Menentukan jenis server yang akan didapatkan dari UIConnectionInfo.
public:
static Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ GetServerType(Microsoft::SqlServer::Management::Common::ServerType serverType);
public static Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType GetServerType (Microsoft.SqlServer.Management.Common.ServerType serverType);
static member GetServerType : Microsoft.SqlServer.Management.Common.ServerType -> Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
Public Shared Function GetServerType (serverType As ServerType) As IServerType
Parameter
- serverType
- ServerType
ServerType dari UIConnectionInfo.
Mengembalikan
Jenis server yang akan didapatkan dari UIConnectionInfo.
Berlaku untuk
GetServerType(UIConnectionInfo)
Menentukan jenis server yang akan didapatkan UIConnectionInfo dari objek .
public:
static Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ GetServerType(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public static Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType GetServerType (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
static member GetServerType : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
Public Shared Function GetServerType (ci As UIConnectionInfo) As IServerType
Parameter
Informasi koneksi.
Mengembalikan
Jenis server yang akan didapatkan dari objek UIConnectionInfo.