SqlSmoObject.IAlienObject.GetPropertyValue Method
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- propertyName
Type: System.String
The name of the property.
- propertyType
Type: System.Type
The type of the property.
Return Value
Type: System.Object
A Object which represents the value of the property.
Implements
IAlienObject.GetPropertyValue(String, Type)