Freigeben über


ServerType-Eigenschaft

Diese API unterstützt die -Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a guid that identifies the type of server the connection uses.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Property ServerType As Guid
    Get
    Set
'Usage
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)

Eigenschaftswert

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