Share via


ServerProtocol Class

Definition

Instance class encapsulating : ManagedComputer[@Name='']/ServerInstance/ServerProtocol

public sealed class ServerProtocol : Microsoft.SqlServer.Management.Smo.Wmi.ProtocolBase
type ServerProtocol = class
    inherit ProtocolBase
Public NotInheritable Class ServerProtocol
Inherits ProtocolBase
Inheritance

Properties

DisplayName
HasMultiIPAddresses
IPAddresses
IsEnabled
Name (Inherited from WmiSmoObject)
Parent
Properties

The property bag of the object

(Inherited from WmiSmoObject)
ProtocolProperties

This is a property bag that holds the Server and Client Protocol properties

(Inherited from ProtocolBase)
State

Returns the state of the object

(Inherited from SmoObjectBase)
Urn

Returns the Urn of the object, computed on the fly

(Inherited from WmiSmoObject)
UserData (Inherited from SmoObjectBase)

Methods

Alter()

changes the object according to the modification of its members

(Inherited from ProtocolBase)
AlterProtocolProperties(ProtocolPropertyCollection) (Inherited from WmiSmoObject)
CheckObjectState() (Inherited from WmiSmoObject)
CreateProtocolPropertyCollection() (Inherited from WmiSmoObject)
GetManagementObject() (Inherited from ProtocolBase)
GetPropertyManagementObject(ProtocolProperty) (Inherited from WmiSmoObject)
GetPropertyObject(PropertyCollection, DataRow, Object) (Inherited from WmiSmoObject)
GetProtocolPropertyCollection() (Inherited from WmiSmoObject)
ImplInitialize(String[], OrderBy[]) (Inherited from WmiSmoObject)
Initialize()

Initializes the object, by reading its properties from the enumerator

(Inherited from WmiSmoObject)
InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

Wraps InvokeMethod calls. When the call fails, returned error codes
are mapped into exceptions.

(Inherited from WmiSmoObject)
InvokeMgmtMethod(ManagementObject, String, Object[]) (Inherited from WmiSmoObject)
IsObjectInitialized() (Inherited from WmiSmoObject)
Refresh()

Refreshes the property bag and the ProtocolProperties collection

(Inherited from ProtocolBase)
SetName(String) (Inherited from WmiSmoObject)
SetParentImpl(WmiSmoObject) (Inherited from WmiSmoObject)
SetState(SqlSmoState)

Sets the object state (Existing, Dropped etc.) Applications should avoid using this method.

(Inherited from SmoObjectBase)
UpdateObjectState() (Inherited from WmiSmoObject)
Validate(String, Object[]) (Inherited from SmoObjectBase)

Applies to