GetSqlProperty 메서드
Retrieves the property field if it is legal for the usage, else throws. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Function GetSqlProperty ( _
field As String, _
usage As ObjectPropertyUsages _
) As SqlObjectProperty
‘사용 방법
Dim instance As SqlObjectBase
Dim field As String
Dim usage As ObjectPropertyUsages
Dim returnValue As SqlObjectProperty
returnValue = instance.GetSqlProperty(field, _
usage)
public SqlObjectProperty GetSqlProperty(
string field,
ObjectPropertyUsages usage
)
public:
SqlObjectProperty^ GetSqlProperty(
String^ field,
ObjectPropertyUsages usage
)
member GetSqlProperty :
field:string *
usage:ObjectPropertyUsages -> SqlObjectProperty
public function GetSqlProperty(
field : String,
usage : ObjectPropertyUsages
) : SqlObjectProperty
매개 변수
- field
유형: System. . :: . .String
The string that represents a property of an object.
- usage
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ObjectPropertyUsages
The usage of the property of an object.
반환 값
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlObjectProperty
The property field of an object.