IDSRefProvider.SetOwner (Método)

Establece el nombre de esquema para un nodo especificado.

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

Sintaxis

'Declaración
Sub SetOwner ( _
    drnidCurr As IntPtr, _
    bstrOwnerName As String _
)
void SetOwner(
    IntPtr drnidCurr,
    string bstrOwnerName
)
void SetOwner(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] String^ bstrOwnerName
)
abstract SetOwner : 
        drnidCurr:IntPtr * 
        bstrOwnerName:string -> unit 
function SetOwner(
    drnidCurr : IntPtr, 
    bstrOwnerName : String
)

Parámetros

  • drnidCurr
    Tipo: System.IntPtr
    [in] DSREFNODEID del nodo cuyo nombre de propietario establecido.
  • bstrOwnerName
    Tipo: System.String
    [in] BSTR que contiene el nombre del propietario que se debe establecer para el nodo especificado.

Ejemplos

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
BSTR dsrnOwnerName;
pIDSRefProvider->SetOwner(drnid, dsrnOwnerName);

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