Méthode SqlSmoObject.IAlienObject.SetPropertyValue
Sets the property value.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Private Sub SetPropertyValue ( _
propertyName As String, _
propertyType As Type, _
value As Object _
) Implements IAlienObject.SetPropertyValue
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- propertyName
Type : System.String
The name of the property.
- propertyType
Type : System.Type
The Type of the property.
- value
Type : System.Object
The object that represents the property value.
Implémente
IAlienObject.SetPropertyValue(String, Type, Object)