共用方式為


ClientProtocolCollection.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 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

型別:Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
A ClientProtocol object value that represents the client protocol.

範例

使用集合

請參閱

參考

ClientProtocolCollection 類別

Item 多載

Microsoft.SqlServer.Management.Smo.Wmi 命名空間