RegisteredServer.ServerType 属性

Gets or the kind of server that is associated with the registered server.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public ReadOnly Property ServerType As ServerType 
    Get
用法
Dim instance As RegisteredServer 
Dim value As ServerType 

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

属性值

类型:Microsoft.SqlServer.Management.Common.ServerType
A ServerType value that specifies the kind of server that is associated with the registered server.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

请参阅

参考

RegisteredServer 类

Microsoft.SqlServer.Management.RegisteredServers 命名空间