Partilhar via


Método IAlienObject.SetPropertyValue

Define o valor da propriedade.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Private Sub SetPropertyValue ( _
    propertyName As String, _
    propertyType As Type, _
    value As Object _
) Implements IAlienObject.SetPropertyValue
'Uso
Dim instance As SqlSmoObject
Dim propertyName As String
Dim propertyType As Type
Dim value As Object

CType(instance, IAlienObject).SetPropertyValue(propertyName, _
    propertyType, value)
void IAlienObject.SetPropertyValue(
    string propertyName,
    Type propertyType,
    Object value
)
private:
virtual void SetPropertyValue(
    String^ propertyName, 
    Type^ propertyType, 
    Object^ value
) sealed = IAlienObject::SetPropertyValue
private abstract SetPropertyValue : 
        propertyName:string * 
        propertyType:Type * 
        value:Object -> unit 
private override SetPropertyValue : 
        propertyName:string * 
        propertyType:Type * 
        value:Object -> unit 
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

Implementa

IAlienObject. . :: . .SetPropertyValue(String, Type, Object)