SqlSmoObject.IAlienObject.SetPropertyValue 方法
Sets the property value.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 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
)
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- propertyName
型別:System.String
The name of the property.
- propertyType
型別:System.Type
The Type of the property.
- value
型別:System.Object
The object that represents the property value.
實作
IAlienObject.SetPropertyValue(String, Type, Object)