ServerProtocol Members
The ServerProtocol class represents a network protocol installed on a server instance that allows communication with Microsoft SQL Server clients over a network.
The following tables list the members exposed by the ServerProtocol type.
Public Properties
Name | Description | |
---|---|---|
DisplayName | Gets or sets the display name of the referenced protocol. | |
HasMultiIPAddresses | Gets the Boolean property that specifies whether there are multiple IP addresses associated with the server protocol. | |
IPAddresses | Represents a collection of ServerIPAddress objects. Each ServerIPAddress object represents an IP address defined on the server protocol. | |
IsEnabled | Gets or sets the Boolean property that specifies whether the server network protocol is enabled or disabled. | |
Name | Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) | |
Parent | Gets the ManagedComputer object that is the parent of the ServerProtocol object. | |
Properties | Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) | |
ProtocolProperties | Represents a collection of ProtocolProperty objects. Each ProtocolProperty object represents an attribute defined on the referenced protocol. (inherited from ProtocolBase) | |
State | Gets the state of the referenced object. (inherited from SmoObjectBase) | |
Urn | Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) | |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Alter | Updates any Protocol object property changes on an instance of SQL Server. (inherited from ProtocolBase) | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Initialize | Initializes the referenced object. (inherited from WmiSmoObject) | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Refreshes the properties of the referenced object. (inherited from ProtocolBase) | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
AlterProtocolProperties | (inherited from WmiSmoObject ) | |
CheckObjectState | Checks the state of the referenced object. (inherited from WmiSmoObject) | |
CreateProtocolPropertyCollection | Creates a set of server protocol attributes. (inherited from WmiSmoObject) | |
Finalize | (inherited from Object ) | |
GetManagementObject | Gets the object that manages the ServerProtocol object. (inherited from ProtocolBase) | |
GetPropertyManagementObject | Gets the management object for the specified protocol property. (inherited from WmiSmoObject) | |
GetPropertyObject | Gets the property from the specified collection with the specified position and value. (inherited from WmiSmoObject) | |
GetProtocolPropertyCollection | Returns the protocol property collection for the referenced object. (inherited from WmiSmoObject) | |
ImplInitialize | (inherited from WmiSmoObject ) | |
InvokeMgmtMethod | Overloaded. (inherited from WmiSmoObject ) | |
IsObjectInitialized | Specifies whether the referenced object is initialized. (inherited from WmiSmoObject) | |
MemberwiseClone | (inherited from Object ) | |
SetName | (inherited from WmiSmoObject ) | |
SetParentImpl | (inherited from WmiSmoObject ) | |
Trace | (inherited from WmiSmoObject ) | |
UpdateObjectState | Updates the object state. (inherited from WmiSmoObject) |
Top
See Also
Reference
ServerProtocol 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