| Visual Basic | |
|---|---|
Sub InstallLicense( _ ByVal bsUserName As System.String, _ ByVal bsPasswd As System.String, _ ByVal bsVaultName As System.String, _ ByVal bsLicenseFilePath As System.String _ ) | |
| C# | |
|---|---|
void InstallLicense( System.string bsUserName, System.string bsPasswd, System.string bsVaultName, System.string bsLicenseFilePath ) | |
| C++/CLI | |
|---|---|
void InstallLicense( & System.String^ bsUserName, & System.String^ bsPasswd, & System.String^ bsVaultName, & System.String^ bsLicenseFilePath ) | |
Parameters
- bsUserName
- Name of a SOLIDWORKS PDM Professional user
- bsPasswd
- Password for bsUserName
- bsVaultName
- Name of vault for which to install a license
- bsLicenseFilePath
- Path to the license file
In SOLIDWORKS PDM Professional 2014 and earlier, licenses were shared among all vaults that were in the same SQL Server instance. Because licenses are shared among all vaults that use the same SolidNetwork License Server (SNL) in SOLIDWORKS PDM Professional 2015 SP0 and later, this method is obsolete and replaced by IEdmVault14::InstallLicense2.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2010