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