GPRsop.LoggingComputer Property
Gets or sets the name of the computer being logged.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public string LoggingComputer { get; set; }
public:
property String^ LoggingComputer {
String^ get();
void set(String^ value);
}
member LoggingComputer : string with get, set
Public Property LoggingComputer As String
Property Value
Type: System.String
Returns String. The computer name.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Cannot set to an empty string (“”). |
ArgumentNullException | Cannot set to null. |
Remarks
The computer must be specified in one of the following formats: computer name, domain\computer name or fully qualified DNS computer name
The computer must be running Windows XP or a later version of Windows and RSoP must have been enabled.
See Also
GPRsop Class
Microsoft.GroupPolicy Namespace
Return to top