Metodo IAlienObject.GetPropertyValue
Ottiene il valore della proprietà specificata.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Private Function GetPropertyValue ( _
propertyName As String, _
propertyType As Type _
) As Object Implements IAlienObject.GetPropertyValue
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- propertyName
Tipo: System. . :: . .String
Nome della proprietà.
- propertyType
Tipo: System. . :: . .Type
Tipo della proprietà.
Valore restituito
Tipo: System. . :: . .Object
Oggetto Object che rappresenta il valore della proprietà.