| Visual Basic | |
|---|---|
Sub InstallLicense2( _ ByVal brUserName As System.String, _ ByVal bsPasswd As System.String, _ ByVal bsVaultName As System.String, _ ByVal bsSNLServers As System.String _ ) | |
| C# | |
|---|---|
void InstallLicense2( System.string brUserName, System.string bsPasswd, System.string bsVaultName, System.string bsSNLServers ) | |
| C++/CLI | |
|---|---|
void InstallLicense2( & System.String^ brUserName, & System.String^ bsPasswd, & System.String^ bsVaultName, & System.String^ bsSNLServers ) | |
Parameters
- brUserName
- Name of a SOLIDWORKS PDM Professional user
- bsPasswd
- Password for bsUserName
- bsVaultName
- Name of vault for which to install a license
- bsSNLServers
- Names of the port and server of the SolidNetwork License (SNL) server; for example, 25734@myserver
In SOLIDWORKS PDM Professional:
- 2015 SP0 and later, licenses are shared among all vaults that use the same SolidNetwork License Server (SNL).
- 2014 and earlier, licenses were shared among all vaults that were in the same SQL Server instance.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2015