다음을 통해 공유


GetProperty 메서드

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

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

구문

‘선언
Protected Function GetProperty ( _
    name As String, _
    usage As ObjectPropertyUsages _
) As ObjectProperty
‘사용 방법
Dim name As String
Dim usage As ObjectPropertyUsages
Dim returnValue As ObjectProperty

returnValue = Me.GetProperty(name, _
    usage)
protected ObjectProperty GetProperty(
    string name,
    ObjectPropertyUsages usage
)
protected:
ObjectProperty^ GetProperty(
    String^ name, 
    ObjectPropertyUsages usage
)
member GetProperty : 
        name:string * 
        usage:ObjectPropertyUsages -> ObjectProperty 
protected function GetProperty(
    name : String, 
    usage : ObjectPropertyUsages
) : ObjectProperty

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ObjectProperty
An exception if the property does not meet the usage requirement or does not exist, else the corresponding property object.