DeleteDataSource Method
Deletes the specified data-source and any contained objects/members.
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)
Syntax
'Declaration
Public Sub DeleteDataSource ( _
sourcePath As String _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim sourcePath As String
instance.DeleteDataSource(sourcePath)
public void DeleteDataSource(
string sourcePath
)
public:
void DeleteDataSource(
String^ sourcePath
)
public function DeleteDataSource(
sourcePath : String
)
Parameters
- sourcePath
Type: System..::.String
The path to the data-source.
Exceptions
Exception | Condition |
---|---|
ERR_NOCONNECTION | The profile data store connection is not open. |
ERR_PROFILEPATH_INVALID | Invalid source-path. |
Remarks
Deletes the data source.
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.
See Also
Reference
BusinessDataAdminFreeThreaded Class