共用方式為


ProtocolPropertyCollection.Item 屬性 (String)

Gets a ProtocolProperty 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 ProtocolProperty 
    Get
'用途
Dim instance As ProtocolPropertyCollection 
Dim name As String 
Dim value As ProtocolProperty 

value = instance(name)
public ProtocolProperty this[
    string name
] { get; }
public:
property ProtocolProperty^ default[String^ name] {
    ProtocolProperty^ get (String^ name);
}
member Item : ProtocolProperty
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

型別:Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object value that represents an attribute of the protocol.

範例

使用集合

請參閱

參考

ProtocolPropertyCollection 類別

Item 多載

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