Share via


IDSRefProvider.SetType(IntPtr, __DSREFTYPE) Method

Definition

Sets the type of a node to specify the type of database object that the node references.

public:
 void SetType(IntPtr drnidCurr, Microsoft::VisualStudio::Data::Services::SupportEntities::Interop::__DSREFTYPE grfType);
public void SetType (IntPtr drnidCurr, Microsoft.VisualStudio.Data.Services.SupportEntities.Interop.__DSREFTYPE grfType);
abstract member SetType : nativeint * Microsoft.VisualStudio.Data.Services.SupportEntities.Interop.__DSREFTYPE -> unit
Public Sub SetType (drnidCurr As IntPtr, grfType As __DSREFTYPE)

Parameters

drnidCurr
IntPtr

nativeint

The DSREFNODEID of the node whose type is to be set.

grfType
__DSREFTYPE

A DSREFTYPE enumeration that contains the value of the type to be set for the specified node.

Applies to