Partilhar via


Método GetHostObject

Esta API tem suporte para a infraestrutura do .NET Framework e não deve ser usada diretamente do seu código.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly:  Microsoft.SqlServer.ScriptTask (em Microsoft.SqlServer.ScriptTask.dll)

Sintaxe

'Declaração
Public Function GetHostObject ( _
    primaryType As Type, _
    primaryCookie As String _
) As Object
'Uso
Dim instance As STHostItemProvider
Dim primaryType As Type
Dim primaryCookie As String
Dim returnValue As Object

returnValue = instance.GetHostObject(primaryType, _
    primaryCookie)
public Object GetHostObject(
    Type primaryType,
    string primaryCookie
)
public:
virtual Object^ GetHostObject(
    Type^ primaryType, 
    String^ primaryCookie
) sealed
abstract GetHostObject : 
        primaryType:Type * 
        primaryCookie:string -> Object 
override GetHostObject : 
        primaryType:Type * 
        primaryCookie:string -> Object 
public final function GetHostObject(
    primaryType : Type, 
    primaryCookie : String
) : Object

Parâmetros

Valor de retorno

Tipo: System. . :: . .Object

Implementa

IHostItemProviderGetHostObject(Type, String)