SqlSmoObject.IAlienObject.SetPropertyValue Yöntemi
Özellik değerini ayarlar.
Ad Alanı: Microsoft.SqlServer.Management.Smo
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
Private Sub SetPropertyValue ( _
propertyName As String, _
propertyType As Type, _
value As Object _
) Implements IAlienObject.SetPropertyValue
'Kullanım
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, açık arabirim uygulamalarının kullanılmasını destekler, ancak yenilerinin bildirilmesini desteklemez.
Parametreler
- propertyName
Tür: System.String
Adı özellik.
- propertyType
Tür: System.Type
Type özellik.
- value
Tür: System.Object
Özellik değerini temsil eden nesne.