Bagikan melalui


VariableClass.GetValueWithContext Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Returns a value of the variable class with a specified context.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Function GetValueWithContext ( _
    pContext As IDTSEvaluatorContext100 _
) As Object
'Usage
Dim instance As VariableClass 
Dim pContext As IDTSEvaluatorContext100 
Dim returnValue As Object 

returnValue = instance.GetValueWithContext(pContext)
public virtual Object GetValueWithContext(
    IDTSEvaluatorContext100 pContext
)
public:
virtual Object^ GetValueWithContext(
    [InAttribute] IDTSEvaluatorContext100^ pContext
)
abstract GetValueWithContext : 
        pContext:IDTSEvaluatorContext100 -> Object  
override GetValueWithContext : 
        pContext:IDTSEvaluatorContext100 -> Object
public function GetValueWithContext(
    pContext : IDTSEvaluatorContext100
) : Object

Parameters

Return Value

Type: System.Object
A value of the variable class with a specified context.

Implements

IDTSVariable100.GetValueWithContext(IDTSEvaluatorContext100)

See Also

Reference

VariableClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace