Dela via


SqlSmoObject.IAlienObject.SetPropertyValue Method

Sets the property value.

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

Syntax

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

Parameters

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

Implements

IAlienObject.SetPropertyValue(String, Type, Object)