IDSRefProvider.SetType (Método)

Establece el tipo de un nodo para especificar el tipo de objeto de base de datos que el nodo hace referencia.

Espacio de nombres:  Microsoft.VisualStudio.Data.Interop
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Sub SetType ( _
    drnidCurr As IntPtr, _
    grfType As __DSREFTYPE _
)
void SetType(
    IntPtr drnidCurr,
    __DSREFTYPE grfType
)
void SetType(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] __DSREFTYPE grfType
)
abstract SetType : 
        drnidCurr:IntPtr * 
        grfType:__DSREFTYPE -> unit 
function SetType(
    drnidCurr : IntPtr, 
    grfType : __DSREFTYPE
)

Parámetros

  • drnidCurr
    Tipo: System.IntPtr
    [in] DSREFNODEID de nodo cuyo tipo establecido.

Ejemplos

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFTYPE grfDSRefType;
pIDSRefProvider->SetType(drnid, grfDSRefType);

Seguridad de .NET Framework

Vea también

Referencia

IDSRefProvider Interfaz

Microsoft.VisualStudio.Data.Interop (Espacio de nombres)

Otros recursos

Extensibilidad (DDEX) SDK de diseñador de datos