SqlSmoObject.IAlienObject.SetPropertyValue(String, Type, Object) Method

Definition

Sets the value of given property, if it is writable. If property is not in property bag, reflection is used. Throws exception if the property is not found.

void IAlienObject.SetPropertyValue (string propertyName, Type propertyType, object value);
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.SetPropertyValue : string * Type * obj -> unit
override this.Microsoft.SqlServer.Management.Sdk.Sfc.IAlienObject.SetPropertyValue : string * Type * obj -> unit
Sub SetPropertyValue (propertyName As String, propertyType As Type, value As Object) Implements IAlienObject.SetPropertyValue

Parameters

propertyName
String
propertyType
Type
value
Object

Implements

Applies to