语言

ClientProtocol 类

定义

封装实例类:ManagedComputer[@Name='']/ClientProtocol

public sealed class ClientProtocol : Microsoft.SqlServer.Management.Smo.Wmi.ProtocolBase
type ClientProtocol = class
    inherit ProtocolBase
Public NotInheritable Class ClientProtocol
Inherits ProtocolBase
继承

属性

名称 说明
DisplayName

封装实例类:ManagedComputer[@Name='']/ClientProtocol

IsEnabled

封装实例类:ManagedComputer[@Name='']/ClientProtocol

Name

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
NetLibInfo

封装的 NetLibInfo 对象

NetworkLibrary

封装实例类:ManagedComputer[@Name='']/ClientProtocol

Order

封装实例类:ManagedComputer[@Name='']/ClientProtocol

Parent

封装实例类:ManagedComputer[@Name='']/ClientProtocol

Properties

对象的属性包

(继承自 WmiSmoObject)
ProtocolProperties

这是保存服务器和客户端协议属性的属性包

(继承自 ProtocolBase)
State

返回对象的状态

(继承自 SmoObjectBase)
Urn

返回动态计算的对象 Urn

(继承自 WmiSmoObject)
UserData

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 SmoObjectBase)

方法

名称 说明
Alter()

根据对象成员的修改更改对象

(继承自 ProtocolBase)
AlterProtocolProperties(ProtocolPropertyCollection)

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
CheckObjectState()

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
CreateProtocolPropertyCollection()

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
GetManagementObject()

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 ProtocolBase)
GetPropertyManagementObject(ProtocolProperty)

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
GetPropertyObject(PropertyCollection, DataRow, Object)

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
GetProtocolPropertyCollection()

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
ImplInitialize(String[], OrderBy[])

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
Initialize()

通过从枚举器读取其属性来初始化对象

(继承自 WmiSmoObject)
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

包装 InvokeMethod 调用。 调用失败时,返回的错误代码
映射到异常。

(继承自 WmiSmoObject)
InvokeMgmtMethod(ManagementObject, String, Object[])

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
IsObjectInitialized()

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
Refresh()

刷新属性包和 ProtocolProperties 集合

SetName(String)

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
SetParentImpl(WmiSmoObject)

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
SetState(SqlSmoState)

设置对象状态(现有、已删除等)应用程序应避免使用此方法。

(继承自 SmoObjectBase)
UpdateObjectState()

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 WmiSmoObject)
Validate(String, Object[])

封装实例类:ManagedComputer[@Name='']/ClientProtocol

(继承自 SmoObjectBase)

适用于