CreateNewVault Method (IEdmVault11)
Creates a new vault.
Syntax
Visual Basic (Declaration) | |
---|
Sub CreateNewVault( _
ByVal bsArchiveServer As System.String, _
ByVal bsArchiveServerUserName As System.String, _
ByVal bsArchiveServerPassword As System.String, _
ByVal bsVaultName As System.String, _
ByVal bsDescription As System.String, _
ByVal bsArchiveRootFolder As System.String, _
ByVal bsSQLServer As System.String, _
ByVal bsSQLUserName As System.String, _
ByVal bsSQLPassword As System.String, _
ByVal bsSQLDatabaseName As System.String, _
ByVal lDateFmt As System.Integer, _
ByVal bsAdminUserPassword As System.String, _
ByVal lEdmCreateVaultFlag As System.Integer, _
ByVal poCallback As EdmCallback, _
Optional ByVal As System.Object _
) |
C# | |
---|
void CreateNewVault(
System.string bsArchiveServer,
System.string bsArchiveServerUserName,
System.string bsArchiveServerPassword,
System.string bsVaultName,
System.string bsDescription,
System.string bsArchiveRootFolder,
System.string bsSQLServer,
System.string bsSQLUserName,
System.string bsSQLPassword,
System.string bsSQLDatabaseName,
System.int lDateFmt,
System.string bsAdminUserPassword,
System.int lEdmCreateVaultFlag,
EdmCallback poCallback,
System.object
) |
C++/CLI | |
---|
void CreateNewVault(
& System.String^ bsArchiveServer,
& System.String^ bsArchiveServerUserName,
& System.String^ bsArchiveServerPassword,
& System.String^ bsVaultName,
& System.String^ bsDescription,
& System.String^ bsArchiveRootFolder,
& System.String^ bsSQLServer,
& System.String^ bsSQLUserName,
& System.String^ bsSQLPassword,
& System.String^ bsSQLDatabaseName,
& System.int lDateFmt,
& System.String^ bsAdminUserPassword,
& System.int lEdmCreateVaultFlag,
& EdmCallback^ poCallback,
& System.Object^
) |
Parameters
- bsArchiveServer
- Name or IP number of the archive server computer; "" if the local comuter is the archive server
- bsArchiveServerUserName
- Name of the Windows user who logs in to the archive server
- bsArchiveServerPassword
- Password for the Windows user who logs in to the archive server
- bsVaultName
- Name of the vault to create
- bsDescription
- Description of the vault; appears in the vault properties window in the administration tool
- bsArchiveRootFolder
- Archive server vault folder; "" to use the default folder
- bsSQLServer
- Name or IP number of the SQL Server computer
- bsSQLUserName
- Name of the user who logs in to the SQL Server computer
- bsSQLPassword
- Password for the user who logs in to the SQL Server computer
- bsSQLDatabaseName
- Name of the SQL database for the new vault
- lDateFmt
- SQL Server date format code for the new vault (see Remarks)
- bsAdminUserPassword
- Password for the Admin user
- lEdmCreateVaultFlag
- Combination of EdmCreateVaultFlag bits
- poCallback
- Optional pointer to a class that implements IEdmCallback to obtain progress information
- oExtra
- (see Remarks)
Example
Remarks
See Also
Availability
SOLIDWORKS PDM Professional 2010