다음을 통해 공유


Item 속성 (String)

Gets a ForeignKey object in the collection by name.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

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

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

매개 변수

속성 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKey
A ForeignKey object value that represents the foreign key.