GetFileAssociationRestrictionsById Method
Gets any restrictions for setting dependencies between file versions.
Required Permissions
FileReadSyntax
public FileAssocRestric[] GetFileAssociationRestrictionsById(
System.long fileId,
System.long[] dependFileIds,
System.long[] attachFileIds
)Public Function GetFileAssociationRestrictionsById( _
ByVal fileId As System.Long, _
ByVal dependFileIds() As System.Long, _
ByVal attachFileIds() As System.Long _
) As FileAssocRestric()Parameters
| Name | Description |
|---|---|
| fileId | The parent file. |
| dependFileIds | An array of file IDs representing child dependencies that are not attachments. Input null if there are no dependencies. |
| attachFileIds | An array of file IDs representing attachments. Input null if there are no attachments. |
Return Value
An array of file association restrictions. If there are no restrictions, the return value will be null.