Partager via


Value propriété

Gets or sets the object value of an IDTSCustomProperty100 object.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Property Value As Object
    Get
    Set
'Utilisation
Dim instance As IDTSCustomProperty100
Dim value As Object

value = instance.Value

instance.Value = value
Object Value { get; set; }
property Object^ Value {
    Object^ get ();
    void set (Object^ value);
}
abstract Value : Object with get, set
function get Value () : Object
function set Value (value : Object)

Valeur de la propriété

Type : System. . :: . .Object
An object that contains the value of the IDTSCustomProperty100 object.

Notes

Custom properties contain variants or objects that allow them to store object values for all types of objects. When retrieving the value of a custom property, the object is then cast to the expected type.

[!REMARQUE]

The IDTSCustomProperty100 interface has limited support for property values of type Object. The only object that you can store as the value of a custom property is an array of simple types such as strings or integers.