Retrieves a DDEX provider using the specified GUID.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Function GetDataProvider ( _
provider As Guid _
) As DataProvider
'使用
Dim instance As DataProviderManager
Dim provider As Guid
Dim returnValue As DataProvider
returnValue = instance.GetDataProvider(provider)
public DataProvider GetDataProvider(
Guid provider
)
public:
DataProvider^ GetDataProvider(
Guid provider
)
public function GetDataProvider(
provider : Guid
) : DataProvider
Parameters
provider
Type: System.GuidA DDEX provider GUID.
Return Value
Type: Microsoft.VisualStudio.Data.DataProvider
Returns a DDEX provider object instance specified by a GUID.
Permissions
- 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.