다음을 통해 공유


GetElement 메서드 (String)

Gets an element with the specified name from the collection.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
어셈블리:  Microsoft.SqlServer.Exec80PackageTask(Microsoft.SqlServer.Exec80PackageTask.dll)

구문

‘선언
Public Function GetElement ( _
    variableName As String _
) As Object
‘사용 방법
Dim instance As VariablesCollection
Dim variableName As String
Dim returnValue As Object

returnValue = instance.GetElement(variableName)
public Object GetElement(
    string variableName
)
public:
Object^ GetElement(
    String^ variableName
)
member GetElement : 
        variableName:string -> Object 
public function GetElement(
    variableName : String
) : Object

매개 변수

반환 값

유형: System. . :: . .Object
An Object containing the element with the specified name, if found; otherwise, a null reference (Nothing in Visual Basic).