Domain.GetSidFilteringStatus(String) 方法
定义
确定信任的 SID 筛选状态。Determines the SID filtering status of a trust.
public:
bool GetSidFilteringStatus(System::String ^ targetDomainName);
public bool GetSidFilteringStatus (string targetDomainName);
member this.GetSidFilteringStatus : string -> bool
Public Function GetSidFilteringStatus (targetDomainName As String) As Boolean
参数
- targetDomainName
- String
与其存在信任关系的域的 DNS 名称。The DNS name of the domain which with the trust relationship exists.
返回
如果启用 SID 筛选,则为 true;否则为 false。true if SID filtering is enabled; otherwise, false.
例外
与 targetForestName 参数指定的 Forest 没有信任关系。There is no trust relationship with the Forest that is specified by the targetForestName parameter.
调用基础目录服务导致错误。A call to the underlying directory service resulted in an error.
目标服务器忙或不可用。The target server is either busy or unavailable.
targetDomainName 是一个空字符串。targetDomainName is an empty string.
targetDomainName 为 null。targetDomainName is null.
当前对象已被释放。The current object has been disposed.
指定的帐户没有权限执行此操作。The specified account does not have permission to perform this operation.