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.

C#
void IAlienObject.SetPropertyValue(string propertyName, Type propertyType, object value);

Parameters

propertyName
String
propertyType
Type
value
Object

Implements

Applies to

Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0