EnumObject.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
参数
- name
类型:System.String
The name of the property.
- usage
类型:Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages
The usage filter.
返回值
类型: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.