Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the type of a node to specify the type of database object that the node references.
Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
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
)
Parameters
- drnidCurr
 Type: System.IntPtr
 [in] DSREFNODEID of the node whose type is to be set.
- grfType
 Type: Microsoft.VisualStudio.Data.Interop.__DSREFTYPE
 [in] DSREFTYPE enumeration that contains the value of the type to be set for the specified node.
Examples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFTYPE grfDSRefType;
pIDSRefProvider->SetType(drnid, grfDSRefType);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Interop Namespace