Symantec 14541094 OLE Automation Guide - Page 58

Table 2-67, Property, Return, value, Description, Parameter

Page 58 highlights

58 Visual Basic object definitions CHostDataEx object Table 2-66 CHostDataEx properties and parameters Property .EndSessSecurity(Byte) .BlankHost(Bool) .AllowRemoteMouse(Bool) .RebootOnDisconnect(Bool) .PasswordAfterDisc(Bool) .LogFailures(Bool) .AllowDriveSecurity(Bool) .UseDirectoryServices(Bool) .DirectoryServiceEntry(String) Parameter Description Byte Sets the security options for a normal end of session. The following values are valid: ■ 1: Log off user ■ 2: Restart host computer ■ 3: Lock computer Bool Sets screen blanking on the host computer. Some video cards do not support this option. Bool Disables the use of the mouse on the remote computer during a session. Bool Forces the computer to restart after any end of session if TRUE. Bool Logs off the user after the session ends. Bool Logs failed password attempts. Bool Enables drive security options. This setting is valid only on NTFS file systems. Bool Enables the use of directory services for authentication. String Sets the directory services settings. Table 2-67 describes the properties and return values for the CHostDataEx object. Replace the information in angle brackets with the actual values. Table 2-67 CHostDataEx properties and return values Property String = .CryptPrivateKey Return value String String = .CryptCommonName String Description Returns the currently active private key container. Returns the common name of the active private key container.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

58
Visual Basic object definitions
CHostDataEx object
Table 2-67
describes the properties and return values for the CHostDataEx
object. Replace the information in angle brackets with the actual values.
<CHostData>.EndSessSecurity(Byte)
Byte
Sets the security options for a normal end of
session.
The following values are valid:
1: Log off user
2: Restart host computer
3: Lock computer
<CHostData>.BlankHost(Bool)
Bool
Sets screen blanking on the host computer. Some
video cards do not support this option.
<CHostData>.AllowRemoteMouse(Bool)
Bool
Disables the use of the mouse on the remote
computer during a session.
<CHostData>.RebootOnDisconnect(Bool)
Bool
Forces the computer to restart after any end of
session if TRUE.
<CHostData>.PasswordAfterDisc(Bool)
Bool
Logs off the user after the session ends.
<CHostData>.LogFailures(Bool)
Bool
Logs failed password attempts.
<CHostData>.AllowDriveSecurity(Bool)
Bool
Enables drive security options. This setting is
valid only on NTFS file systems.
<CHostData>.UseDirectoryServices(Bool)
Bool
Enables the use of directory services for
authentication.
<CHostData>.DirectoryServiceEntry(String)
String
Sets the directory services settings.
Table 2-67
CHostDataEx properties and return values
Property
Return
value
Description
String = <CHostDataEx>.CryptPrivateKey
String
Returns the currently active private key
container.
String = <CHostDataEx>.CryptCommonName
String
Returns the common name of the active private
key container.
Table 2-66
CHostDataEx properties and parameters
Property
Parameter
Description