مشاركة عبر


ServerInstance.ServerProtocols Property

Represents a collection of ServerProtocol objects. Each ServerProtocol object represents a server protocol defined on the Microsoft Management Instrumentation (WMI) installation.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Property ServerProtocols As ServerProtocolCollection 
    Get
'Usage
Dim instance As ServerInstance 
Dim value As ServerProtocolCollection 

value = instance.ServerProtocols
public ServerProtocolCollection ServerProtocols { get; }
public:
property ServerProtocolCollection^ ServerProtocols {
    ServerProtocolCollection^ get ();
}
member ServerProtocols : ServerProtocolCollection
function get ServerProtocols () : ServerProtocolCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolCollection
A ServerProtocolCollection object that represents all the server protocols defined on the WMI installation.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ServerInstance Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine