ServerProtocolCollection.Item[] Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Возвращает объект ServerProtocol из коллекции по его имени или номеру индекса.
Перегрузки
Item[Int32] |
Возвращает объект ServerProtocol из коллекции по номеру индекса. |
Item[String] |
Возвращает объект ServerProtocol из коллекции по имени. |
Item[Int32]
Возвращает объект ServerProtocol из коллекции по номеру индекса.
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ default[int] { Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
Default Public ReadOnly Property Item(index As Integer) As ServerProtocol
Параметры
- index
- Int32
Значение типа Int32, указывающее положение объекта ServerProtocol в коллекции ServerProtocolCollection.
Значение свойства
Значение объекта ServerProtocol, представляющее серверный протокол.
Применяется к
Item[String]
Возвращает объект ServerProtocol из коллекции по имени.
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
Default Public ReadOnly Property Item(name As String) As ServerProtocol
Параметры
- name
- String
Значение String, указывающее имя объекта ServerProtocol в коллекции ServerProtocolCollection.
Значение свойства
Значение объекта ServerProtocol, представляющее серверный протокол.