Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a ServerProtocol object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As ServerProtocol
Get
'Usage
Dim instance As ServerProtocolCollection
Dim name As String
Dim value As ServerProtocol
value = instance(name)
public ServerProtocol this[
string name
] { get; }
public:
property ServerProtocol^ default[String^ name] {
ServerProtocol^ get (String^ name);
}
member Item : ServerProtocol
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A STring value that specifies the name of the ServerProtocol object in the ServerProtocolCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
A ServerProtocol object value that represents the server protocol.