'Declaration
<NotNullAttribute()> Function AddSecurityGroup( _ ByVal securityGroupName As String, _ ByVal keyLifetime As Double, _ ByVal securityPolicyUriString As String, _ ByVal maximumFutureKeyCount As Long, _ ByVal maximumPastKeyCount As Long _ ) As String
'Usage
Dim instance As IUAPubSubSecurityKeyService Dim securityGroupName As String Dim keyLifetime As Double Dim securityPolicyUriString As String Dim maximumFutureKeyCount As Long Dim maximumPastKeyCount As Long Dim value As String value = instance.AddSecurityGroup(securityGroupName, keyLifetime, securityPolicyUriString, maximumFutureKeyCount, maximumPastKeyCount)
[NotNull()] string AddSecurityGroup( string securityGroupName, double keyLifetime, string securityPolicyUriString, long maximumFutureKeyCount, long maximumPastKeyCount )
[NotNull()] String^ AddSecurityGroup( String^ securityGroupName, double keyLifetime, String^ securityPolicyUriString, int64 maximumFutureKeyCount, int64 maximumPastKeyCount )
Parameters
- securityGroupName
- Name of the security group to add.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - keyLifetime
- The lifetime of a key (in milliseconds).
- securityPolicyUriString
- The URI string of the security policy used for the security group.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - maximumFutureKeyCount
- The maximum number of future keys returned.
- maximumPastKeyCount
- The maximum number of historical keys stored by the security key service.
Return Value
This method never returns null
(Nothing
in Visual Basic).