Partilhar via


ClientProtocol Members

The ClientProtocol class represents a network protocol installed on a client instance that allows communication with the instance of Microsoft SQL Server over a network.

The following tables list the members exposed by the ClientProtocol type.

Public Properties

  Name Description
ms220726.pubproperty(en-US,SQL.90).gif DisplayName Gets or sets the display name of the referenced protocol.
ms220726.pubproperty(en-US,SQL.90).gif IsEnabled Gets or sets the Boolean property that specifies whether the client network protocol is enabled or disabled.
ms220726.pubproperty(en-US,SQL.90).gif Name  Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220726.pubproperty(en-US,SQL.90).gif NetLibInfo Gets the network library information file for the referenced protocol.
ms220726.pubproperty(en-US,SQL.90).gif NetworkLibrary Gets the network library file name for the referenced protocol.
ms220726.pubproperty(en-US,SQL.90).gif Order Gets or sets the order in which the referenced protocol is listed and applied in relation to the other currently supported protocols.
ms220726.pubproperty(en-US,SQL.90).gif Parent Gets the ManagedComputer object that is the parent of the ClientProtocol object.
ms220726.pubproperty(en-US,SQL.90).gif Properties  Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220726.pubproperty(en-US,SQL.90).gif ProtocolProperties  Represents a collection of ProtocolProperty objects. Each ProtocolProperty object represents an attribute defined on the referenced protocol. (inherited from ProtocolBase)
ms220726.pubproperty(en-US,SQL.90).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms220726.pubproperty(en-US,SQL.90).gif Urn  Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220726.pubproperty(en-US,SQL.90).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220726.pubmethod(en-US,SQL.90).gif Alter  Updates any Protocol object property changes on an instance of SQL Server. (inherited from ProtocolBase)
ms220726.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220726.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220726.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220726.pubmethod(en-US,SQL.90).gif Initialize  Initializes the referenced object. (inherited from WmiSmoObject)
ms220726.pubmethod(en-US,SQL.90).gifms220726.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220726.pubmethod(en-US,SQL.90).gif Refresh Overridden. Refreshes the properties of the referenced object.
ms220726.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220726.protmethod(en-US,SQL.90).gif AlterProtocolProperties  (inherited from WmiSmoObject )
ms220726.protmethod(en-US,SQL.90).gif CheckObjectState  Checks the state of the referenced object. (inherited from WmiSmoObject)
ms220726.protmethod(en-US,SQL.90).gif CreateProtocolPropertyCollection  Creates a set of client protocol attributes. (inherited from WmiSmoObject)
ms220726.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220726.protmethod(en-US,SQL.90).gif GetManagementObject  Gets the object that manages the ClientProtocol object. (inherited from ProtocolBase)
ms220726.protmethod(en-US,SQL.90).gif GetPropertyManagementObject  Gets the management object for the specified protocol property. (inherited from WmiSmoObject)
ms220726.protmethod(en-US,SQL.90).gif GetPropertyObject  Gets the property from the specified collection with the specified position and value. (inherited from WmiSmoObject)
ms220726.protmethod(en-US,SQL.90).gif GetProtocolPropertyCollection  Returns the protocol property collection for the referenced object. (inherited from WmiSmoObject)
ms220726.protmethod(en-US,SQL.90).gif ImplInitialize  (inherited from WmiSmoObject )
ms220726.protmethod(en-US,SQL.90).gif InvokeMgmtMethod  Overloaded. (inherited from WmiSmoObject )
ms220726.protmethod(en-US,SQL.90).gif IsObjectInitialized  Specifies whether the referenced object is initialized. (inherited from WmiSmoObject)
ms220726.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220726.protmethod(en-US,SQL.90).gif SetName  (inherited from WmiSmoObject )
ms220726.protmethod(en-US,SQL.90).gif SetParentImpl  (inherited from WmiSmoObject )
ms220726.protmethod(en-US,SQL.90).gifms220726.static(en-US,SQL.90).gif Trace  (inherited from WmiSmoObject )
ms220726.protmethod(en-US,SQL.90).gif UpdateObjectState  Updates the object state. (inherited from WmiSmoObject)

Top

See Also

Reference

ClientProtocol Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Connecting to the SQL Server Database Engine