ServiceContractCollection.Item 속성 (String)
Gets a ServiceContract object in the collection by name.
네임스페이스: Microsoft.SqlServer.Management.Smo.Broker
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public ReadOnly Default Property Item ( _
name As String _
) As ServiceContract
Get
‘사용 방법
Dim instance As ServiceContractCollection
Dim name As String
Dim value As ServiceContract
value = instance(name)
public ServiceContract this[
string name
] { get; }
public:
property ServiceContract^ default[String^ name] {
ServiceContract^ get (String^ name);
}
member Item : ServiceContract
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.
매개 변수
- name
유형: System.String
A String value that specifies the name of the ServiceContract object in the ServiceContractCollection collection.
속성 값
유형: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
A ServiceContract object value that represents the service contract.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Broker 네임스페이스