Właściwość ServerInstance.ServerProtocols
Reprezentuje kolekcja ServerProtocol obiektów.Każdy ServerProtocol obiekt reprezentuje protokół serwera zdefiniowanych na Microsoft instalacji Management Instrumentation (WMI).
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Wmi
Zestaw: Microsoft.SqlServer.SqlWmiManagement (w Microsoft.SqlServer.SqlWmiManagement.dll)
Składnia
'Deklaracja
Public ReadOnly Property ServerProtocols As ServerProtocolCollection
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolCollection
A ServerProtocolCollection obiekt, który reprezentuje protokoły serwera zdefiniowanych na instalację usługi WMI.
Zobacz także