TWSOpenOptions Class Reference
Inherits from | NSObject |
---|---|
Declared in | TWSOpenOptions.h |
+ createWithUniqueName:
Create a new entity with the uniqueName if provided, return an error if it exists already. If no uniqueName is specified, this operation will always succeed provided sufficient permissions.
+ (nonnull TWSOpenOptions *)createWithUniqueName:(nullable NSString *)uniqueName
Parameters
uniqueName |
The optional unique name for the new entity or nil if no uniqueName is desired. |
---|
Discussion
Create a new entity with the uniqueName if provided, return an error if it exists already. If no uniqueName is specified, this operation will always succeed provided sufficient permissions.
Declared In
TWSOpenOptions.h
+ withUniqueName:
Create a new or open an existing new entity with the uniqueName provided. This operation will always succeed provided sufficient permissions.
+ (nullable TWSOpenOptions *)withUniqueName:(nonnull NSString *)uniqueName
Parameters
uniqueName |
The non-optional unique name to either retrieve or create if needed. |
---|
Discussion
Create a new or open an existing new entity with the uniqueName provided. This operation will always succeed provided sufficient permissions.
Declared In
TWSOpenOptions.h
+ openWithSidOrUniqueName:
Open an existing new entity with the SID or uniqueName provided.
+ (nullable TWSOpenOptions *)openWithSidOrUniqueName:(nonnull NSString *)sidOrUniqueName
Parameters
sidOrUniqueName |
The non-optional SID or unique name to retrieve. |
---|
Discussion
Open an existing new entity with the SID or uniqueName provided.
Declared In
TWSOpenOptions.h
– uniqueName
The uniqueName of the entity for the operation.
- (nullable NSString *)uniqueName
Discussion
The uniqueName of the entity for the operation.
Declared In
TWSOpenOptions.h
– sidOrUniqueName
The SID or uniqueName of the entity for the operation.
- (nullable NSString *)sidOrUniqueName
Discussion
The SID or uniqueName of the entity for the operation.
Declared In
TWSOpenOptions.h