Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Registers this data source factory with the global service.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function RegisterDataSourceFactory ( _
ByRef guid As Guid, _
pDataSourceFactory As IVsDataSourceFactory _
) As Integer
int RegisterDataSourceFactory(
ref Guid guid,
IVsDataSourceFactory pDataSourceFactory
)
int RegisterDataSourceFactory(
[InAttribute] Guid% guid,
[InAttribute] IVsDataSourceFactory^ pDataSourceFactory
)
abstract RegisterDataSourceFactory :
guid:Guid byref *
pDataSourceFactory:IVsDataSourceFactory -> int
function RegisterDataSourceFactory(
guid : Guid,
pDataSourceFactory : IVsDataSourceFactory
) : int
Parameters
guid
Type: Guid%[in] Globally unique identifier for the data source factory.
pDataSourceFactory
Type: Microsoft.VisualStudio.Shell.Interop.IVsDataSourceFactory[in] The interface to use for the data source factory.
Return Value
Type: Int32
Returns S_OK if the data source factory was registered correctly.
.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.