ManagedInstance.ServerType 속성

Gets the type of the server instance.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ServerType As Integer 
    Get
‘사용 방법
Dim instance As ManagedInstance 
Dim value As Integer 

value = instance.ServerType
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ServerType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ServerType {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ServerType : int
function get ServerType () : int

속성 값

유형: System.Int32
An Int32 value that specifies the server type. The Int32 values correspond to the members of the ServerType enumeration.

주의

The server type indicates whether the instance of SQL Server is a matrix or a singleton.

참고 항목

참조

ManagedInstance 클래스

Microsoft.SqlServer.Management.Utility 네임스페이스