GetPropertyValue 方法
Gets the value of the specified property.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Function GetPropertyValue ( _
propertyName As String, _
propertyType As Type _
) As Object
用法
Dim instance As IAlienObject
Dim propertyName As String
Dim propertyType As Type
Dim returnValue As Object
returnValue = instance.GetPropertyValue(propertyName, _
propertyType)
Object GetPropertyValue(
string propertyName,
Type propertyType
)
Object^ GetPropertyValue(
String^ propertyName,
Type^ propertyType
)
abstract GetPropertyValue :
propertyName:string *
propertyType:Type -> Object
function GetPropertyValue(
propertyName : String,
propertyType : Type
) : Object
参数
- propertyName
类型:System. . :: . .String
The name of the property.
- propertyType
类型:System. . :: . .Type
The type of the property.
返回值
类型:System. . :: . .Object
An object that represents the property value.