The numeric database ID of the contentbase. Similar to GetContentBaseName(), this method makes a call to the server to obtain the ID, regardless of how the Session was created.
ContentbaseMetaData Interface | Marklogic.Xcc Namespace