Method SchemaLock_TryAcquire()
One attempt at the exclusive application lock of the schema, owned by the session, with no wait; returns the
result code of sp_getapplock (0 or 1 granted, -1 held elsewhere). Params: = resource name.
public string SchemaLock_TryAcquire()