SqlSmoObject.IAlienObject.SetPropertyValue Method

Sets the property value.

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


Private Sub SetPropertyValue ( _
    propertyName As String, _
    propertyType As Type, _
    value As Object _
) Implements IAlienObject.SetPropertyValue
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
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 supports the use of explicit interface implementations, but not the declarations of new ones.


  • value
    Type: System.Object
    The object that represents the property value.


IAlienObject.SetPropertyValue(String, Type, Object)