UIConnectionInfo.ServerType 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a guid that identifies the type of server the connection uses.

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public Property ServerType As Guid 
    Get 
    Set
用法
Dim instance As UIConnectionInfo 
Dim value As Guid 

value = instance.ServerType

instance.ServerType = value
public Guid ServerType { get; set; }
public:
property Guid ServerType {
    Guid get ();
    void set (Guid value);
}
member ServerType : Guid with get, set
function get ServerType () : Guid 
function set ServerType (value : Guid)

属性值

类型:System.Guid
A guid that identifies the type of server the connection uses.

请参阅

参考

UIConnectionInfo 类

Microsoft.SqlServer.Management.Smo.RegSvrEnum 命名空间