PolicyCollection.Item 속성 (String)

Gets a Policy object in the collection by name.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
Public ReadOnly Default Property Item ( _
    name As String _
) As Policy 
    Get
‘사용 방법
Dim instance As PolicyCollection 
Dim name As String 
Dim value As Policy 

value = instance(name)
public Policy this[
    string name
] { get; }
public:
property Policy^ default[String^ name] {
    Policy^ get (String^ name);
}
member Item : Policy
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

속성 값

유형: Microsoft.SqlServer.Management.Dmf.Policy
A Policy object value that represents the policy that has the specified name.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

컬렉션 사용

참고 항목

참조

PolicyCollection 클래스

Item 오버로드

Microsoft.SqlServer.Management.Dmf 네임스페이스