SqlSmoObject.IAlienObject.GetPropertyValue-Methode
Gets the value of the specified property.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Private Function GetPropertyValue ( _
propertyName As String, _
propertyType As Type _
) As Object Implements IAlienObject.GetPropertyValue
'Usage
Dim instance As SqlSmoObject
Dim propertyName As String
Dim propertyType As Type
Dim returnValue As Object
returnValue = CType(instance, IAlienObject).GetPropertyValue(propertyName, _
propertyType)
Object IAlienObject.GetPropertyValue(
string propertyName,
Type propertyType
)
private:
virtual Object^ GetPropertyValue(
String^ propertyName,
Type^ propertyType
) sealed = IAlienObject::GetPropertyValue
private abstract GetPropertyValue :
propertyName:string *
propertyType:Type -> Object
private override GetPropertyValue :
propertyName:string *
propertyType:Type -> Object
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- propertyName
Typ: System.String
The name of the property.
- propertyType
Typ: System.Type
The type of the property.
Rückgabewert
Typ: System.Object
A Object which represents the value of the property.
Implementiert
IAlienObject.GetPropertyValue(String, Type)