Condividi tramite


Proprietà Value

Gets or sets the object value of an IDTSCustomProperty100 object.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Property Value As Object
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

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.

[!NOTA]

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.