Item 屬性 (String)
Gets a ClientProtocol object in the collection by name.
命名空間: Microsoft.SqlServer.Management.Smo.Wmi
組件: Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As ClientProtocol
Get
'用途
Dim instance As ClientProtocolCollection
Dim name As String
Dim value As ClientProtocol
value = instance(name)
public ClientProtocol this[
string name
] { get; }
public:
property ClientProtocol^ default[String^ name] {
ClientProtocol^ get (String^ name);
}
member Item : ClientProtocol
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System. . :: . .String
A String value that specifies the name of the ClientProtocol object in the ClientProtocolCollection collection.
屬性值
型別:Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ClientProtocol
A ClientProtocol object value that represents the client protocol.